<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('Tools/AdminPartnerCate/index')}">分类列表</a></li>
			<li><a href="{:U('Tools/AdminPartnerCate/add')}">添加分类</a></li>
		</ul>
		<form method="post" class="js-ajax-form" action="">
			<div class="table-actions">
				<button class="btn btn-primary btn-small js-ajax-submit" type="submit" data-action="{:U('Tools/AdminPartnerCate/indexbat','type=order')}">排序</button>
				<button class="btn btn-primary btn-small js-ajax-submit" type="submit" data-action="{:U('Tools/AdminPartnerCate/indexBat','type=delete')}">删除</button>
			</div>
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>
						<th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></label></th>
						<th width="50">排序</th>
						<!--<th width="50">分类ID</th>-->
						<th>分类名称</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<volist name="list" id="v">
					<tr>
						<td style="vertical-align:middle;"><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="{$v['cate_id']}" title="ID:{$v['cate_id']}"></td>
						<td><input name="orderby[{$v['cate_id']}]" class="input input-order" type="text" size="3" value="{$v['orderby']}" /></td>
						<!--<td>{$item['cate_id']}</td>-->
						<td>{$v['cate_name']}</td>
						<td>
							<a href="{:U('Tools/AdminPartnerCate/edit','cate_id='.$v['cate_id'])}">编辑</a> |
							<a href="{:U('Tools/AdminPartnerCate/delete','cate_id='.$v['cate_id'])}" class="js-ajax-delete">删除</a>
						</td>
					</tr>
					</volist>
				</tbody>
				<tfoot>
					<tr>
						<th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></label></th>
						<th width="50">排序</th>
						<!--<th width="50">分类ID</th>-->
						<th>分类名称</th>
						<th>操作</th>
					</tr>
				</tfoot>
			</table>
			<div class="table-actions">
				<button class="btn btn-primary btn-small js-ajax-submit" type="submit" data-action="{:U('Tools/AdminPartnerCate/indexbat','type=order')}">排序</button>
				<button class="btn btn-primary btn-small js-ajax-submit" type="submit" data-action="{:U('Tools/AdminPartnerCate/indexBat','type=delete')}">删除</button>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	
</body>
</html>